package com.main.usermanagement.application.service;

import com.main.common.base.resp.RespBody;
import com.main.common.entity.ListPage;
import com.main.usermanagement.domain.user.aggregate.User;
import com.main.usermanagement.interfaces.dto.UserDTO;
import com.main.usermanagement.interfaces.dto.UserListDTO;

import java.util.List;
import java.util.Map;

public interface UserService {

    /**
     * 获取平台列表
     * @return 平台列表
     */
    RespBody<List<UserDTO>> getPlatformList();


    RespBody<List<UserDTO>> associateUserWithOrganizationAtom(String userId, String atomId);

    RespBody<UserDTO> getUserById(Long userId);

    List<User> findByPhone(String phone);

    Boolean removeUserById(Long userId);

    RespBody<UserListDTO> getList(ListPage listPage);

    RespBody<List<User>> complexQuery(Map<String, Object> conditions);
}
